package com.ssy.lingxi.pay.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 授信审核更新VO
 * @author 伍将
 * @date 2020/8/18
 * @version 2.0.0
 */
public class CreditVerifyUpdateVO implements Serializable {


    private static final long serialVersionUID = 8143491871589908879L;

    /**
     * 授信申请id
     */
    @NotNull(message = "授信申请id要大于等于0")
    @PositiveOrZero(message = "授信申请id要大于等于0")
    private Long applyId;

    /**
     * 审批额度
     */
    @NotNull(message = "申请额度大于0")
    @Positive(message = "申请额度要大于0")
    private Double quota;

    /**
     * 账单日
     */
    @NotNull(message = "账单日大于0")
    @Positive(message = "账单日要大于0")
    private Integer billDay;

    /**
     * 还款周期
     */
    @NotNull(message = "还款周期大于0")
    @Positive(message = "还款周期要大于0")
    private Integer repayPeriod;

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Double getQuota() {
        return quota;
    }

    public void setQuota(Double quota) {
        this.quota = quota;
    }

    public Integer getBillDay() {
        return billDay;
    }

    public void setBillDay(Integer billDay) {
        this.billDay = billDay;
    }

    public Integer getRepayPeriod() {
        return repayPeriod;
    }

    public void setRepayPeriod(Integer repayPeriod) {
        this.repayPeriod = repayPeriod;
    }
}
